package cn.vshare.service;

import cn.vshare.entity.Barrage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BarrageService {



    //新增弹幕
    boolean addBarrage(Barrage barrage);

    //删除弹幕
    boolean delBarrage(Barrage barrage);

    //查询所有弹幕
    List<Barrage> queryBarrageByVideo(String videoId);

    //查询弹幕并(筛选)屏蔽
    List<Barrage> queryBarrageFilterByUser(@Param("videoId") String videoId, @Param("list") List<String> list);

}
